from rest_framework.pagination import PageNumberPagination


# 分页序列化器
class PaginationSerializer(PageNumberPagination):
    # 每页十条数据
    page_size = 10
    page_query_param = 'page'
    page_size_query_param = 'limit'
